POV-Ray : Newsgroups : povray.beta-test : v3.7 example scenes : Re: v3.7 example scenes Server Time
28 Jul 2024 22:26:44 EDT (-0400)
  Re: v3.7 example scenes  
From: Chris Cason
Date: 25 Sep 2008 09:32:53
Message: <48db9305@news.povray.org>
Jim Holsenback wrote:
> thanks that would be great! 

Ok, it's in the FTP dir (pvengine.zip). Note that this has some other
changes related to paths: you may need to copy your standard scenes,
include, ini, and insert menu files to 'My Documents\POV-Ray\v3.7'.

Syntax is as follows:

  #declare deprecated Col_Glass_Old=color rgbf <0.8, 0.9, 0.85, 0.85>;
  #declare deprecated once Col_Glass_Old=... etc
  #declare deprecated "Some message" Col_Glass_Old=... etc
	
A deprecated identifier generates no message at the time it is declared: a
warning is only issued if it is used.
	
If the optional 'once' keyword is present it must immediately follow the
'deprecated' keyword and indicates that the warning should only be
displayed once per parse.
	
If the optional message string is present, it will be used as the warning
to be displayed if the identifier is used. Otherwise, a message of the form
"Identifier 'Col_Glass_Old' was declared deprecated." is used.
	
An identifier is considered 'used' if it is referenced anywhere (even if in
another #declare).

-- Chris


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.